package com.atguigu.eduservice.client;

import com.atguigu.commonutils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.Map;

@Component
@FeignClient(name = "service-ucenter",fallback = UcenterFileDegradeFeignClient.class)
public interface UcenterClient {


        @PostMapping("/educenter/member/getcurrentInfo/{id}")
        public Map getcurrentInfo(@PathVariable String id);



}
